package com.engine4cloud.tdf.supervision.dto.result;

import io.swagger.v3.oas.annotations.Hidden;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.Size;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;
import java.util.List;

/**
 * 社区志愿者-响应对象
 *
 * @author wenjie
 * @date 2024-04-15 11:36:11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "社区志愿者-响应对象")
public class GzryVolunteerResultDTO extends CreateTimeResultDTO {

    /**
     * 志愿者主键
     */
    @Schema(description = "志愿者主键")
    private Long id;

    /**
     * 志愿者编号
     */
    @Schema(description = "志愿者编号")
    private String rybm;

    /**
     * 姓名
     */
    @Schema(description = "姓名")
    private String xm;

    /**
     * 性别
     */
    @Schema(description = "性别")
    private String xb;

    /**
     * 性别名称
     */
    @Schema(description = "性别名称", example = "男")
    private String xbmc;

    /**
     * 出生日期
     */
    @Schema(description = "出生日期")
    private LocalDate csrq;

    /**
     * 身份证号
     */
    @Schema(description = "身份证号")
    private String sfzh;

    /**
     * 学历
     */
    @Schema(description = "学历")
    private String xl;

    /**
     * 最高学位
     */
    @Schema(description = "最高学位")
    private String zgxw;

    /**
     * 政治面貌
     */
    @Schema(description = "政治面貌")
    private String zzmm;

    /**
     * 专业
     */
    @Schema(description = "专业")
    private String zy;

    /**
     * 职称
     */
    @Schema(description = "职称")
    private String zc;

    /**
     * 工作单位
     */
    @Schema(description = "工作单位")
    private String gzdw;

    /**
     * 所属司法行政机构编码
     */
    @Schema(description = "所属司法行政机构编码")
    private String ssjg;

    /**
     * 联系电话
     */
    @Schema(description = "联系电话")
    private String lxdh;

    /**
     * 手机
     */
    @Schema(description = "手机")
    private String sj;

    @Hidden
    @Schema(description = "住址所在省（区、市）")
    private String jtzzszs;

    @Hidden
    @Schema(description = "住址所在地（市、州）")
    private String jtzzszds;

    @Hidden
    @Schema(description = "住址所在县（市、区）")
    private String jtzzszxq;

    @Hidden
    @Schema(description = "住址所在（乡镇、街道）")
    private String jtzzszd;
    /**
     * 家庭住址
     */
    @Schema(description = "家庭住址")
    private String jtzz;

    /**
     * 志愿工作开始时间
     */
    @Schema(description = "志愿工作开始时间")
    private LocalDate kssj;

    /**
     * 是否在职
     */
    @Schema(description = "是否在职")
    private String sfzz;

    /**
     * 志愿工作结束时间
     */
    @Schema(description = "志愿工作结束时间")
    private LocalDate jssj;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String bz;

    /**
     * 所属部门名称
     */
    @Schema(description = "所属部门名称")
    private String deptName;

    /**
     * 职业
     */
    @Schema(description = "职业", example = "[\"1\",\"113\"]")
    @Size(min = 1)
    @NotEmpty(message = "职业不能为空，且长度为2位")
    private List<String> positionList;

    /**
     * 家庭住址
     */
    @Schema(description = "家庭住址", example = "[\"460000\",\"46000A\",\"469006\",\"36327\"]")
    private List<String> areaList;
}